﻿using AspNetExtensions.Pages;
using AdventureWorks.Application.Presenters.Production;
using AdventureWorks.Application.Views.Production;
using System.Collections.Generic;
using AdventureWorks.LinqDataSource;
using AdventureWorks.Application.ViewModels.Production.Default;

public partial class Production_Default : BasePage<DefaultPresenter, IDefaultView>, IDefaultView {

  #region IDefaultView Members

  public IEnumerable<ProductSelector> Products {
    set {
      ProductList.DataSource = value;
      ProductList.DataBind();
    }
  }

  public IEnumerable<ProductSelector> TopProducts {
    set {
      TopProductsList.DataSource = value;
      TopProductsList.DataBind();
    }
  }

  public int SelectedProductID {
    get { throw new System.NotImplementedException(); }
  }

  #endregion
}
